package com.yao.springcloud;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * 
 * @Description: 基础配置
 * @author yaoym
 * @date 2018年1月9日 上午10:28:36
 * @version V1.0
 */
@Component
@ConfigurationProperties
public class BaseProperty implements Serializable {

	@Value("${apiservice.miResource.url}")
	private String resoureUri;

	public String getResoureUri() {
		return resoureUri;
	}

	public void setResoureUri(String resoureUri) {
		this.resoureUri = resoureUri;
	}

	@Override
	public String toString() {
		return "BaseProperty [resoureUri=" + resoureUri + "]";
	}

}
